export default (Vue) => {
  Vue.filter('CustomType', (type) => {
    /*eslint-disable*/
    switch (+type) {
      case 0:
        return '实物奖品'
        break
      case 1:
        return '虚拟奖品'
        break
      case 2:
        return '需兑换码奖品'
        break
      case 3: 
        return '贝塔豆'
      case 4: 
        return '课程'
      default:
        return type
    }
  /*eslint-enable*/
  })
}
